﻿using System;

namespace JZ_58_II_zuo_xuan_zhuan_zi_fu_chuan_lcof
{
    class Program
    {
        static void Main (string[] args)
        {
            Console.WriteLine (ReverseLeftWords ("Accbccdcc", 5));
        }

        // 左旋转字符串
        public static string ReverseLeftWords (string s, int n)
        {
            string str = s.Substring (n, s.Length - n) + s.Substring (0, n);
            return str;
        }
    }
}
